<%--<%@ taglib prefix="S" uri="/struts-tags" %>--%>
<%--<%@ taglib prefix="s" uri="/struts-tags" %>--%>
<%--&lt;%&ndash;--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<script>
   function regist() {
        targetForm=document.forms[0];
        targetForm.action="login!regist";
   }
</script>
<body>
<form  action="regist">
  用户名：<input type="username" name="username" /><br/>
  密&nbsp;&nbsp;码:<input type="password" name="password"/><br/>
  <input type="submit" value="登录"><br/>
  <input type="submit" value="注册" onclick="regist();"/>

</form>
</body>
</html>
